Invokes a method of the COM server, and passes the array of parameters to the method. Make sure to correctly dimension the array, as this will determine the number of parameters that get passed to the method.
Syntax |
|---|
|
result = OLEObject.Invoke( NameOfFunction, Parameters() ) |
Parameters |
|
|---|---|
|
NameOfFunction |
|
|
Parameters() |
array of Variant |
Return Value |
|
|---|---|
|
Result |
|
Notes
The first parameter begins at 1.